package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.GarbageRecordDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/9/3
 **/
public interface GarbageRecordDetailService {
    public List<GarbageRecordDetail> selectList(GarbageRecordDetail garbageRecordDetail);

    public List<GarbageRecordDetail> selectAll(GarbageRecordDetail garbageRecordDetail);

    public List<GarbageRecordDetail> selectToday(GarbageRecordDetail garbageRecordDetail);

    public GarbageRecordDetail selectById(Long id);

    public List<GarbageRecordDetail> selectByRecordId(Long id);

    public Boolean create(GarbageRecordDetail garbageRecordDetail);

    public Boolean update(GarbageRecordDetail garbageRecordDetail);

    public Boolean deleteById(Long id);

    Integer selectSumByLocationAndTime(String startTime, String endTime, Long garbageTypeId,
                                       String location);
}
